package win.demonlegion.thread;

import java.util.concurrent.Callable;

public class FutureTaskDemo implements Callable<String> {
    @Override
    public String call() throws Exception {
        String tid = String.valueOf(Thread.currentThread().getId());
        System.out.printf("Thread#%s : in call\n", tid);
        return tid;
    }
}
